package org.vector.bean;

import java.io.Serializable;

@SuppressWarnings("serial")
public class BankUser implements Serializable{
	private int bankid;//用户的账号
	private String name;//用户名
	private int password;//密码
	private int idCard;//身份证号
	private int ccd;//银行卡号
	private int ccdpassword;//银行卡密码
	private int phone;//手机号
	private int money;//存款
	
	public BankUser() {}
	public BankUser(int bankid, String name, int password, int idCard, int ccd, int ccdpassword, int phone) {
		this.bankid = bankid;
		this.name = name;
		this.password = password;
		this.idCard = idCard;
		this.ccd = ccd;
		this.ccdpassword = ccdpassword;
		this.phone = phone;
	}
	public int getBankid() {
		return bankid;
	}
	public void setBankid(int bankid) {
		this.bankid = bankid;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getPassword() {
		return password;
	}
	public void setPassword(int password) {
		this.password = password;
	}
	public int getId() {
		return idCard;
	}
	public void setId(int id) {
		this.idCard = id;
	}
	public int getCcd() {
		return ccd;
	}
	public void setCcd(int ccd) {
		this.ccd = ccd;
	}
	public int getCcdpassword() {
		return ccdpassword;
	}
	public void setCcdpassword(int ccdpassword) {
		this.ccdpassword = ccdpassword;
	}
	public int getPhone() {
		return phone;
	}
	public void setPhone(int phone) {
		this.phone = phone;
	}
	
	public int getMoney() {
		return money;
	}
	public void setMoney(int money) {
		this.money = money;
	}
	@Override
	public String toString() {
		return "BankUser [银行账号=" + bankid + ", 用户名=" + name + ", 密码=" + password 
				+ ", 身份证号=" + idCard + ", 银行卡号=" + ccd + ", 银行卡密码=" + ccdpassword + ", 手机号=" + phone + "]";
	}
	
	
}
